import myAxios from '../plugins/myAxios'

// 获取用户信息
export const getUserInfo = () => {
  return myAxios.get('/user/info')
}

// 更新用户信息
export const updateUserInfo = (userInfo) => {
  return myAxios.post('/user/update', userInfo)
}

export const getStudentInfo = () => {
  return myAxios.get('/student/user/info')
}
